Does anyone know how to set access rights for attributes via dxl? I have about 20 attributes that I need to restrict access. They are for groups and not users. |
Re: Attribute Access Rights According to the DXL Reference Manual:
string set{Def|Val}(Module m, AttrDef ad, Permission ps, {string user|string group})
|
Re: Attribute Access Rights johnzweck - Thu May 13 10:43:02 EDT 2010 According to the DXL Reference Manual:
string set{Def|Val}(Module m, AttrDef ad, Permission ps, {string user|string group})
string setDef (Module m, AttrDef test, read|modify|delete|control, string xxxx) xxxx is the group/user name |
Re: Attribute Access Rights vppatel - Thu May 13 11:20:12 EDT 2010 Use the following: Module m = current AttrDef ad = find(m, "test") string err = setDef(m, ad, read|modify|delete|control, "GroupName") if (!null err) print err
|
Re: Attribute Access Rights johnzweck - Thu May 13 11:57:09 EDT 2010 Use the following: Module m = current AttrDef ad = find(m, "test") string err = setDef(m, ad, read|modify|delete|control, "GroupName") if (!null err) print err
|